Skip to content

Update dataset manager API for data-domain-impacting operations#608

Merged
aaraney merged 7 commits intoNOAA-OWP:masterfrom
robertbartel:f/dataset_domain_autodetect/3/push_domains
May 14, 2024
Merged

Update dataset manager API for data-domain-impacting operations#608
aaraney merged 7 commits intoNOAA-OWP:masterfrom
robertbartel:f/dataset_domain_autodetect/3/push_domains

Conversation

@robertbartel
Copy link
Copy Markdown
Contributor

Updating DatasetManager and implementations to require a DataDomain parameter being provided when either adding data to or deleting data from an existing dataset. Implementing functions to allow for domain subtraction. Also fixing domain merge function for consistency, so that it only works on one constraint at a time.

Note that this PR depends on #566 and should remain in draft status until that one is merged.

@robertbartel robertbartel added enhancement New feature or request maas MaaS Workstream labels May 9, 2024
@robertbartel robertbartel force-pushed the f/dataset_domain_autodetect/3/push_domains branch 4 times, most recently from 8e8aee9 to 3887d50 Compare May 13, 2024 17:04
Add functions to support subtracting constraints and data domains.
Only allow for subtracting or merging domains if they have one
constraint different (with some caveats for subtraction).
Update dataset manager interface for add_data and delete_data (and
implementations) to require a DataDomain for the added/deleted data be
passed as an arg so that the dataset's domain can also be updated.
Bumping client to 0.7.0, core to 0.16.0, modeldata to 0.12.0, and
dataservice to 0.10.0; also, for each, updating any dependencies on
the others to account for the latest version.
@robertbartel robertbartel force-pushed the f/dataset_domain_autodetect/3/push_domains branch from 3887d50 to 583215c Compare May 13, 2024 18:54
@robertbartel robertbartel marked this pull request as ready for review May 13, 2024 18:54
Comment thread python/lib/core/dmod/core/meta_data.py Outdated
robertbartel and others added 3 commits May 14, 2024 08:38
Co-authored-by: Austin Raney <austin.raney@noaa.gov>
Fixing so everything is consistent with new adjusted test data and
updates to functionality, in particular requiring a domain be passed to
add_data().
Copy link
Copy Markdown
Member

@aaraney aaraney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for the changes, @robertbartel!

@aaraney aaraney merged commit f270955 into NOAA-OWP:master May 14, 2024
@robertbartel robertbartel deleted the f/dataset_domain_autodetect/3/push_domains branch May 14, 2024 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request maas MaaS Workstream

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants